package com.hellobike.haxing.modules.order.constant;

/**
 * @Description
 * @Author ZLB
 * @Date 2020/1/4
 * @Version 1.0
 **/
public final class OrderConstants {

    /**
     * 订单状态0暂存1创建待支付2订单取消3支付待提货4待揽收5已取货6已完成7交易关闭
     * 10售后申请11待退回12待返仓13待退款14售后失败15售后完成16被驳回（审核拒绝）17审核通过 18售后待审核
     * 20退款中21已退款(退款成功)22退款失败30审核中
     */
    public static final Integer ORDER_STATUS_0 = 0;
    public static final Integer ORDER_STATUS_1 = 1;
    public static final Integer ORDER_STATUS_2 = 2;
    public static final Integer ORDER_STATUS_3 = 3;
    public static final Integer ORDER_STATUS_4 = 4;
    public static final Integer ORDER_STATUS_5 = 5;
    public static final Integer ORDER_STATUS_6 = 6;
    public static final Integer ORDER_STATUS_7 = 7;
//    public static final Integer ORDER_STATUS_8 = 8;
//    public static final Integer ORDER_STATUS_9 = 9;
    public static final Integer ORDER_STATUS_10 = 10;
    public static final Integer ORDER_STATUS_11 = 11;
    public static final Integer ORDER_STATUS_12 = 12;
    public static final Integer ORDER_STATUS_13 = 13;
    public static final Integer ORDER_STATUS_14 = 14;
    public static final Integer ORDER_STATUS_15 = 15;
    public static final Integer ORDER_STATUS_16 = 16;
    public static final Integer ORDER_STATUS_17 = 17;
    public static final Integer ORDER_STATUS_18 = 18;
    public static final Integer ORDER_STATUS_20 = 20;
    public static final Integer ORDER_STATUS_21 = 21;
    public static final Integer ORDER_STATUS_22 = 22;
    public static final Integer ORDER_STATUS_30 = 30; // 审核中
    /**
     * 订单类型1购物车订单2限时购直接下单3拼团订单
     */
    public static final Integer ORDER_TYPE_1 = 1;
    public static final Integer ORDER_TYPE_2 = 2;
    public static final Integer ORDER_TYPE_3 = 3;

    /**
     * 订单业务类型1普通订单2限时购3拼团
     */
    public static final Integer ORDER_BIZ_TYPE_1 = 1;
    public static final Integer ORDER_BIZ_TYPE_2 = 2;
    public static final Integer ORDER_BIZ_TYPE_3 = 3;
    public static final Integer ORDER_BIZ_TYPE_4 = 4;
    /**
     * 订单支付状态0未支付1已支付
     */
    public static final Integer ORDER_PAY_1 = 1;
    public static final Integer ORDER_PAY_0 = 0;

    /**
     * 商品类型：1-生鲜 2-日杂
     */
    public static final Integer PRODUCT_TYPE_1 = 1;
    public static final Integer PRODUCT_TYPE_2 = 2;

    /**
     * 结单时间
     */
    public static final Integer ORDER_END_TYPE_0 = 0;

    /**
     * 退货类型1全部退货0部分退货
     */
    public static final Integer ORDER_AFTERSALE_TYPE_1 = 1;
    public static final Integer ORDER_AFTERSALE_TYPE_0 = 0;

    /**
     * 退款类型0B端1C端
     */
    public static final Integer ORDER_RETURN_AMOUNT_TYPE_1 = 1;
    public static final Integer ORDER_RETURN_AMOUNT_TYPE_0 = 0;

    /**
     * 订单取消审核状态(1审核通过2审核不通过)
     */
    public static final Integer APPROVE_STATUS_YES = 1;
    public static final Integer APPROVE_STATUS_NO = 2;

    /**
     * 删除标志0未删除1删除
     */
    public static final Integer DEL_FLAG_1 = 1;
    public static final Integer DEL_FLAG_0 = 0;
}
